home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
WINDOWS
/
PRINTERS
/
NODEE1A
/
NODDLGS.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-07
|
1KB
|
58 lines
/*---------------------------------------------------------------------
TODODLGS.CPP - part of TODO example program
Copyright (c) 1991 by Borland International
All Rights Reserved.
---------------------------------------------------------------------*/
#if !defined( __WINDOWS_H )
#include <Windows.h>
#endif // __WINDOWS_H
#if !defined( __String_H )
#include <String.h>
#endif // __STRING_H
#if !defined( __NODDLGS_H )
#include "NodDlgs.h"
#endif
/*---------------------------------------------------------------------
member functions for class AboutBox.
*/
LPSTR AboutBox::getDialogName()
{
return "AboutBox";
}
BOOL AboutBox::dispatch( HWND hDlg, WORD msg, WORD wParam, LONG lParam )
{
switch( msg )
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
if( wParam == IDOK || wParam == IDCANCEL )
{
EndDialog( hDlg, TRUE );
return TRUE;
}
default:
return ModalDialog::dispatch( hDlg, msg, wParam, lParam );
}
}